package exchange;

import java.util.Comparator;

public class InverseDoubleComparator implements Comparator<Double> {
	@Override
	public int compare(Double o1, Double o2) {
		Double ord1 = (Double) o1;
		Double ord2 = (Double) o2;
		if (ord1 < ord2)
			return 1;
		if (ord1 > ord2)
			return -1;
		return 0;
	}
}
